import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import reducer from './modules'

let middleware = [thunk]

const store = createStore(reducer, applyMiddleware(...middleware))

export default store
